<ui:composition xmlns="http://www.w3.org/1999/xhtml" 
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core" 
                xmlns:p="http://primefaces.org/ui"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    
               <p:menubar  autoDisplay="true" style="border: 0px;" >
                   <c:forEach items="#{loginController.menuBar.keySet()}" var="padre" varStatus="idx" >
                        <p:submenu label="#{padre}">
                            <c:forEach items="#{loginController.menuBar[padre]}" var="hijo" >
                                <p:menuitem value="#{hijo.txtAccion}" url="/pages/#{hijo.txtUrl}"/>
                            </c:forEach>
                        </p:submenu>
                    </c:forEach>
                </p:menubar>
    
                
</ui:composition>